﻿namespace My.Hydrator.Conventions
{
    using System;

    public class DefaultTypeConvention<TType> : ITypeConvention
    {
        public Type Type
        {
            get { return typeof(TType); }
        }

        public object GenerateValue(object[] customAttributes)
        {
            return default(TType);
        }
    }
}
